<?php
	include ("../../../config/koneksi.php");
	$id = $_GET['id'];
	$desa = mysql_query("select * from desa where id_kecamatan = '$id'");
	echo "<option value=''> - - Pilih Desa - - </option>";
	while($d = mysql_fetch_array($desa)){
		echo "<option value=$d[id_desa]>$d[desa]</option>";
	}
?>